package com.bawei.util;

import com.bawei.pojo.UserInfo;

public class ResultEntity {

    private String code;

    private String message;


    private UserInfo userInfo;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public ResultEntity(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public ResultEntity(String code, UserInfo userInfo) {
        this.code = code;
        this.userInfo = userInfo;
    }
}
